# Contributor: damir <damir@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=libhangul
pkgver=0.1.0
pkgrel=4
pkgdesc='Input method library for Korean'
url='http://code.google.com/p/libhangul/'
license=('LGPL')
arch=('x86_64')
source=("https://kldp.net/hangul/release/3442-${pkgname}-${pkgver}.tar.gz")
sha512sums=('cf84850bf7a41e743457300513c5efdf7b3e18d168f4fdc324aaa8e1be78743752fcb98385764f94c707777ab82cc9444e076808e61fdbd915c9c0d7ea93c534')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}
